﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using SqlSugar;
namespace WebFirst.Entities
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("GWCmdMakeUp")]
    public class GWCmdMakeUp :INotifyPropertyChanged
    {
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int? Id { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="ObjectIdentifier"    )]
         public string ObjectIdentifier { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="InterfaceClass"    )]
         public int? InterfaceClass { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="OpenrateType"    )]
         public string OpenrateType { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="SubItemID"    )]
         public int? SubItemID { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="SubItemName"    )]
         public string SubItemName { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="AttributeIndex"    )]
         public int? AttributeIndex { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
        ///

        private string dataValue;
        [SugarColumn(ColumnName = "DataValue")]
         public string DataValue 
        {
            get {  return dataValue; }
            set { dataValue = value; OnChanged(new PropertyChangedEventArgs("DataValue")); }

        }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="DataFormat"    )]
         public int? DataFormat { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="Remark"    )]
         public string Remark { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
        protected void OnChanged(PropertyChangedEventArgs arg)//具体方法
        {
            PropertyChanged?.Invoke(this, arg);
        }
    }
}
